[INFO] fetching crate sqlite-fastrand 0.2.1...
[INFO] fixing sqlite-fastrand-0.2.1 against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] extracting crate sqlite-fastrand 0.2.1 into /workspace/builds/worker-6-tc2/source
[INFO] started tweaking crates.io crate sqlite-fastrand 0.2.1
[INFO] finished tweaking crates.io crate sqlite-fastrand 0.2.1
[INFO] tweaked toml for crates.io crate sqlite-fastrand 0.2.1 written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate sqlite-fastrand 0.2.1 on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 77 packages to latest compatible versions
[INFO] [stderr]       Adding fastrand v1.9.0 (available: v2.4.1)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 8ccfd9472851f7a2b4c50145164dde15bc2454c41b43ce17b0d1a863c839a646
[INFO] running `Command { std: "docker" "start" "8ccfd9472851f7a2b4c50145164dde15bc2454c41b43ce17b0d1a863c839a646", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "8ccfd9472851f7a2b4c50145164dde15bc2454c41b43ce17b0d1a863c839a646" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8ccfd9472851f7a2b4c50145164dde15bc2454c41b43ce17b0d1a863c839a646", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "8ccfd9472851f7a2b4c50145164dde15bc2454c41b43ce17b0d1a863c839a646" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Compiling regex-syntax v0.8.11
[INFO] [stderr]    Compiling rustix v0.38.44
[INFO] [stderr]    Compiling linux-raw-sys v0.4.15
[INFO] [stderr]    Compiling aho-corasick v1.1.4
[INFO] [stderr]    Compiling clang-sys v1.8.1
[INFO] [stderr]    Compiling either v1.16.0
[INFO] [stderr]    Compiling log v0.4.33
[INFO] [stderr]    Compiling bindgen v0.60.1
[INFO] [stderr]    Compiling home v0.5.12
[INFO] [stderr]    Compiling humantime v2.3.0
[INFO] [stderr]    Compiling lazycell v1.3.0
[INFO] [stderr]    Compiling peeking_take_while v0.1.2
[INFO] [stderr]    Compiling rustc-hash v1.1.0
[INFO] [stderr]    Compiling syn v2.0.118
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling sqlite-fastrand v0.2.1 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating build.rs from 2021 edition to 2024
[INFO] [stderr]     Checking fastrand v1.9.0
[INFO] [stderr]    Compiling regex-automata v0.4.14
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling which v4.4.2
[INFO] [stderr]    Compiling sqlite-loadable-macros v0.0.2
[INFO] [stderr]    Compiling regex v1.12.4
[INFO] [stderr]    Compiling env_logger v0.9.3
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]    Compiling sqlite3ext-sys v0.0.1
[INFO] [stderr]     Checking sqlite-loadable v0.0.5
[INFO] [stderr]    Migrating src/lib.rs from 2021 edition to 2024
[INFO] [stderr] error: errors present after applying fixes to crate `sqlite_fastrand`
[INFO] [stderr]  --> src/lib.rs
[INFO] [stderr]   = cause: error: expected item after attributes
[INFO] [stderr]               --> src/lib.rs:270:1
[INFO] [stderr]                |
[INFO] [stderr]            270 | #[sqlite_entrypoint]
[INFO] [stderr]                | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]            
[INFO] [stderr]            
[INFO] [stderr]            error: aborting due to 1 previous error
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]    --> src/lib.rs:271:1
[INFO] [stdout]     |
[INFO] [stdout] 271 | / pub fn sqlite3_fastrand_init(db: *mut sqlite3) -> Result<()> {
[INFO] [stdout] 272 | |     let flags = FunctionFlags::empty();
[INFO] [stdout] 273 | |     let rng = Rc::new(RefCell::new(Rng::new()));
[INFO] [stdout] ...   |
[INFO] [stdout] 401 | |     Ok(())
[INFO] [stdout] 402 | | }
[INFO] [stdout]     | |_^ usage of unsafe attribute
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout]     = note: `--force-warn unsafe-attr-outside-unsafe` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]     |
[INFO] [stdout] 271 ~ unsafe(pub fn sqlite3_fastrand_init(db: *mut sqlite3) -> Result<()> {
[INFO] [stdout] 272 |     let flags = FunctionFlags::empty();
[INFO] [stdout] ...
[INFO] [stdout] 401 |     Ok(())
[INFO] [stdout] 402 ~ })
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] help: to report this as a bug, open an issue at https://github.com/rust-lang/rust/issues, quoting the full output of this command
[INFO] [stderr] help: to possibly apply more fixes, pass in the `--broken-code` flag
[INFO] [stderr] note: original diagnostics will follow:
[INFO] [stderr] error: errors present after applying fixes to crate `sqlite_fastrand`
[INFO] [stderr]  --> src/lib.rs
[INFO] [stderr]   = cause: error: expected item after attributes
[INFO] [stderr]               --> src/lib.rs:270:1
[INFO] [stderr]                |
[INFO] [stderr]            270 | #[sqlite_entrypoint]
[INFO] [stderr]                | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]            
[INFO] [stderr]            
[INFO] [stderr]            error: aborting due to 1 previous error
[INFO] [stderr] help: to report this as a bug, open an issue at https://github.com/rust-lang/rust/issues, quoting the full output of this command
[INFO] [stderr] help: to possibly apply more fixes, pass in the `--broken-code` flag
[INFO] [stderr] note: original diagnostics will follow:
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]    --> src/lib.rs:271:1
[INFO] [stdout]     |
[INFO] [stdout] 271 | / pub fn sqlite3_fastrand_init(db: *mut sqlite3) -> Result<()> {
[INFO] [stdout] 272 | |     let flags = FunctionFlags::empty();
[INFO] [stdout] 273 | |     let rng = Rc::new(RefCell::new(Rng::new()));
[INFO] [stdout] ...   |
[INFO] [stdout] 401 | |     Ok(())
[INFO] [stdout] 402 | | }
[INFO] [stdout]     | |_^ usage of unsafe attribute
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout]     = note: `--force-warn unsafe-attr-outside-unsafe` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]     |
[INFO] [stdout] 271 ~ unsafe(pub fn sqlite3_fastrand_init(db: *mut sqlite3) -> Result<()> {
[INFO] [stdout] 272 |     let flags = FunctionFlags::empty();
[INFO] [stdout] ...
[INFO] [stdout] 401 |     Ok(())
[INFO] [stdout] 402 ~ })
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 54.43s
[INFO] [stderr] crater-edition-check: sqlite-fastrand v0.2.1 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr]    Compiling sqlite-fastrand v0.2.1 (/opt/rustwide/workdir)
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]    --> src/lib.rs:271:1
[INFO] [stdout]     |
[INFO] [stdout] 271 | / pub fn sqlite3_fastrand_init(db: *mut sqlite3) -> Result<()> {
[INFO] [stdout] 272 | |     let flags = FunctionFlags::empty();
[INFO] [stdout] 273 | |     let rng = Rc::new(RefCell::new(Rng::new()));
[INFO] [stdout] ...   |
[INFO] [stdout] 401 | |     Ok(())
[INFO] [stdout] 402 | | }
[INFO] [stdout]     | |_^ usage of unsafe attribute
[INFO] [stdout]     |
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]     |
[INFO] [stdout] 271 ~ unsafe(pub fn sqlite3_fastrand_init(db: *mut sqlite3) -> Result<()> {
[INFO] [stdout] 272 |     let flags = FunctionFlags::empty();
[INFO] [stdout] ...
[INFO] [stdout] 401 |     Ok(())
[INFO] [stdout] 402 ~ })
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]    --> src/lib.rs:271:1
[INFO] [stdout]     |
[INFO] [stdout] 271 | / pub fn sqlite3_fastrand_init(db: *mut sqlite3) -> Result<()> {
[INFO] [stdout] 272 | |     let flags = FunctionFlags::empty();
[INFO] [stdout] 273 | |     let rng = Rc::new(RefCell::new(Rng::new()));
[INFO] [stdout] ...   |
[INFO] [stdout] 401 | |     Ok(())
[INFO] [stdout] 402 | | }
[INFO] [stdout]     | |_^ usage of unsafe attribute
[INFO] [stdout]     |
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]     |
[INFO] [stdout] 271 ~ unsafe(pub fn sqlite3_fastrand_init(db: *mut sqlite3) -> Result<()> {
[INFO] [stdout] 272 |     let flags = FunctionFlags::empty();
[INFO] [stdout] ...
[INFO] [stdout] 401 |     Ok(())
[INFO] [stdout] 402 ~ })
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `sqlite-fastrand` (lib test) due to 1 previous error
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `sqlite-fastrand` (lib) due to 1 previous error
[INFO] running `Command { std: "docker" "inspect" "8ccfd9472851f7a2b4c50145164dde15bc2454c41b43ce17b0d1a863c839a646", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8ccfd9472851f7a2b4c50145164dde15bc2454c41b43ce17b0d1a863c839a646", kill_on_drop: false }`
[INFO] [stdout] 8ccfd9472851f7a2b4c50145164dde15bc2454c41b43ce17b0d1a863c839a646
